package com.infore.airsupervise.biz;

import com.infore.airsupervise.bean.UserE;
import com.infore.airsupervise.http.BaseResponse;
import com.infore.airsupervise.http.OnServerResponseListener;

import retrofit2.Call;

/**
 * @features:  用户登录业务请求接口
 * @author: WuTao
 * @date: 2017/3/21 15:01
 */
public interface LoginBiz {

    /**
     * 用户登录请求接口
     * @param username
     * @param passWord
     * @param listener
     * @return
     */
    Call<BaseResponse> sendUserLoginRequest(String username, String passWord, OnServerResponseListener<UserE> listener);

    /**
     * 获取视频token
     */

    Call<BaseResponse> getVideoTokenReuqest(OnServerResponseListener<String> listener);
}
